package DBLayer;

import ModelLayer.*;
import java.util.ArrayList;

public interface IFDBProduct
{
	public ArrayList<Product> getAllProducts(boolean retrieveAssociation);
	
	public Product findProduct(int id, boolean retrieveAssociation);
	
	public Product searchProductDescription(String description, boolean retrieveAssociation);
	
	public int insertProduct(Product prod) throws Exception;
	
	public int updateProduct(Product prod);
}
